﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using NUnit.Framework;
//using Birkelund.QueryStrings.Tokens;
//using Birkelund.QueryStrings;
//using Birkelund.QueryStrings.Interfaces;

//namespace Birkelund.QueryStrings.Test.IntegrationTests
//{
//    public class FullTypeWriteReadTest
//    {
//        [Test]
//        [SetCulture("da-DK")]
//        public void ReadWrite_DoubleToken()
//        {
//            var v = new ValueTypeToken<double>("a");
//            RunTest(v, 123.234);
//        }

//        private static void RunTest<T>(IQueryStringToken<T> token, T value)
//        {
//            UriWriter writer = UriWriter.CreateEmptyFromUrl(new Uri("http://www.test.dk"));
//            writer.SetToken(token, value);

//            Assert.AreEqual(value, token.ReadValue(writer.GenerateQueryAsUri()));
//        }
//    }
//}
